import { Button, Card ,Tabs,TabPane,Row,Col,Scrollbar} from 'element-ui'
import Vue from 'vue'
import AppComponent from './App/App.vue'

Vue.component('app-component', AppComponent)

Vue.use(Card)
Vue.use(Button)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Row)
Vue.use(Col)
Vue.use(Scrollbar)

import YCard from '@/components/card/y-card.vue'
import YCardContainer from '@/components/card/y-card-container.vue'
Vue.component('y-card-container',YCardContainer)
Vue.component('y-card',YCard)


import YNav from '@/components/nav/y-nav.vue'
Vue.component('y-nav',YNav)

// eslint-disable-next-line no-new
new Vue({
    el: '#app',
    render: createElement => {
        return createElement(AppComponent)
    }
})
